{% extends "no_login_master.html" %}
{% load common_extras %}
{% block head_ext %}
<script type="text/javascript" src="/site_media/js/rpc.js"></script>
<script type="text/javascript" src="/site_media/js/jquery/ui/ui.core.js"></script>
<script type="text/javascript" src="/site_media/js/jquery/ui/ui.dialog.js"></script>
<link rel="stylesheet" href="/site_media/js/jquery/ui/themes/flora/flora.all.css" type="text/css" media="screen" title="no title" />
<meta http-equiv="content-type" content="text/html; charset=utf8" />
{% endblock %}
{% block title %}登录{% endblock %}
{% block content %}
<div align="center"><font color="red">{{session_id}}</font></div>
<form id="login_form" name="login_form" action="/admin/login/" method="post">
<table width="471px" align="center" border="0" height="180px" background="/site_media/bigPicture/login_bg.gif">
<tr align="center"><td colspan="2"><h3>用 户 登 录</h3></td></tr>
<tr align="center">
	<td align="right" width="100px">用户名:</td>
	<td align="left"><input id="user_id" onfocus="showimage()" name="user_id" type="text" style="width:180px" /></td>
</tr>
<tr align="center">
	<td align="right" width="100px">密码:</td>
	<td align="left"><input id="passwd" name="passwd" type="password"  style="width:180px"/></td>
</tr>
<tr align="center" id="iscode" style="display: none;">
	<td align="right" width="100px">验证码:</td>
	<td align="left"><input type="text" name="checkcode" id="checkcode" /><br/><img id="codeimage" name="codeimage" onclick="this.setAttribute('src','/admin/get_check_code_image/?nocache='+Math.random());" src="" alt="CheckCode"/></td>
</tr>
<tr align="center"><td colspan="2"><input type="submit"  value="登 录" style="width:80px" /></td></tr>
</table>
</form>
<script type="text/javascript">
<!--
	function showimage() {
		$('#iscode').show()
		$('#codeimage').attr("src","/admin/get_check_code_image/");	
	}
//-->
</script>
{% endblock %}
